-- GENERATED SPELL FOR [Mo'arg Warp-Master] --


function spell0_20326(pUnit, Event) --@Slime Spray,n/a--
pUnit:FullCastSpellOnTarget(36486,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_20326', 14000, 1)
end

function Sorts_20326(pUnit, Event)
local choix_sorts_20326 = math.random(0, 0)
if choix_sorts_20326 == 0 then
pUnit:RegisterEvent('spell0_20326', 1, 1)
end
end

function mob20326_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_20326', math.random(1500, 3000), 1)
end

function mob20326_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob20326_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob20326_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(20326, 1, 'mob20326_Action')
RegisterUnitEvent(20326, 2, 'mob20326_Leave')
RegisterUnitEvent(20326, 3, 'mob20326_Kill')
RegisterUnitEvent(20326, 4, 'mob20326_Die')
